= stylesheet_link_tag    "http://netdna.bootstrapcdn.com/twitter-bootstrap/2.2.1/css/bootstrap-combined.min.css", :media => "all"
.span6
  .login
    = form_tag(:action => 'attempt_login') do
      %legend Авторизация
      %table
        %tr
          %td= label_tag(:username)
          %td= text_field_tag(:username)
        %tr
          %td= label_tag("Пароль")
          %td= password_field_tag(:password)
        %tr
          %td &nbsp;
          %td= submit_tag("Войти")
          %td= link_to("Зарегистрироваться",:action => "register")


